//
//  ViewController.m
//  UIProgressView
//
//  Created by clz on 2019/8/11.
//  Copyright © 2019年 clz. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // UIProgressView
    
    UIProgressView *progressView = [[UIProgressView alloc]initWithFrame:CGRectMake(100, 100, 200, 40)];
    progressView.progress = 0.5;
    progressView.progressTintColor = [UIColor redColor];
    progressView.trackTintColor = [UIColor greenColor];
    progressView.progressViewStyle = UIProgressViewStyleBar;
    
    [self.view addSubview:progressView];
    
    
    
}


@end
